package com.rightsidetech.mall.dto.response.userApp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class CommodityAppDetailResp implements Serializable {

    private Long id;

    @ApiModelProperty("区间价格小价格 商品无规格时没有这个价格")
    private BigDecimal smallPrice;

    @ApiModelProperty("区间价格大价格 商品无规格时没有这个价格")
    private BigDecimal bigPrice;

    @ApiModelProperty("商品编码")
    private String code;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("分类名称")
    private String typeName;

    @ApiModelProperty("分类id")
    private Long typeId;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("商品图片")
    private List<String> commodityPicture;

    @ApiModelProperty("商品详情图")
    private List<String> commodityDetailPicture;

    @ApiModelProperty("是否支持以旧换新 0-支持 1-不支持")
    private Byte isInNew;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("以旧换新价格")
    private BigDecimal inNewPrice;

    @ApiModelProperty("划线价")
    private BigDecimal underlinedPrice;

    @ApiModelProperty("代理商商品状态 0-正常 1-缺货")
    private Byte commodityStatus;

    @ApiModelProperty("是否有换购商品")
    private Boolean isGift;

}
